package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LCompetitionQuestion
 * @date 2021.05.31 14:20
 * @describe 竞赛试卷出题策略
 */
@TableName("l_competition_question")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LCompetitionQuestion对象", description="竞赛试卷出题策略")
public class LCompetitionQuestion implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "competition_question_id", type = IdType.AUTO)
    private Integer competitionQuestionId;

    @ApiModelProperty(value = "题库id")
    @TableField("questions_sort_id")
    private Integer questionsSortId;

    @ApiModelProperty(value = "知识点")
    @TableField("knowledge")
    private String knowledge;

    @ApiModelProperty(value = "难度")
    @TableField("difficulty")
    private String difficulty;

    @ApiModelProperty(value = "竞赛考次id")
    @TableField("competition_id")
    private Integer competitionId;

    @ApiModelProperty(value = "题型id")
    @TableField("competition_type_id")
    private Integer competitionTypeId;

    @ApiModelProperty(value = "试题分数")
    @TableField("competition_fraction")
    private String competitionFraction;

    @ApiModelProperty(value = "题数")
    @TableField("number")
    private Integer number;

    @ApiModelProperty(value = "说明")
    @TableField("description")
    private String description;

    public Integer getCompetitionQuestionId() {
        return competitionQuestionId;
    }

    public void setCompetitionQuestionId(Integer competitionQuestionId) {
        this.competitionQuestionId = competitionQuestionId;
    }

    public Integer getQuestionsSortId() {
        return questionsSortId;
    }

    public void setQuestionsSortId(Integer questionsSortId) {
        this.questionsSortId = questionsSortId;
    }

    public String getKnowledge() {
        return knowledge;
    }

    public void setKnowledge(String knowledge) {
        this.knowledge = knowledge;
    }

    public String getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(String difficulty) {
        this.difficulty = difficulty;
    }

    public Integer getCompetitionId() {
        return competitionId;
    }

    public void setCompetitionId(Integer competitionId) {
        this.competitionId = competitionId;
    }

    public Integer getCompetitionTypeId() {
        return competitionTypeId;
    }

    public void setCompetitionTypeId(Integer competitionTypeId) {
        this.competitionTypeId = competitionTypeId;
    }

    public String getCompetitionFraction() {
        return competitionFraction;
    }

    public void setCompetitionFraction(String competitionFraction) {
        this.competitionFraction = competitionFraction;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
